package com.shihan.service;

/**
 * @Description
 * @Author shihan
 * @Date 2020/8/9 17:33
 * @Version 1.0
 */
public class RpcResponse {

    //响应ID
    private String responseId;

    //错误信息
    private String error;

    //返回的结果
    private Object result;

    public String getResponseId() {
        return responseId;
    }

    public void setResponseId(String responseId) {
        this.responseId = responseId;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "RpcResponse{" +
                "responseId='" + responseId + '\'' +
                ", error='" + error + '\'' +
                ", result=" + result +
                '}';
    }
}
